package com.ims.service;

import com.ims.entity.Page;
import com.ims.entity.system.Student;
import com.ims.util.PageData;
import org.springframework.stereotype.Component;

import java.util.List;



public interface StudentMapper {
    int deleteByPrimaryKey(Integer sId);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer sId);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<PageData> listAllStudentScore(Page pd) throws Exception;

    PageData selectBySid(Integer sId) throws Exception;

    int updateScoreBySid(Student student) throws Exception;

}